package request

// 获取位置经纬度
type GetLocReq struct {
	Lat string `form:"lat" bing:"required" json:"lat"`
	Lnt string `form:"lnt" bing:"required" json:"lnt"`
}
type RouteRecommendReq struct {
	StartAddress string `json:"startAddress" binding:"required" form:"startAddress"`
	EndAddress   string `json:"endAddress" binding:"required" form:"endAddress"`
	Tactics      int64  `json:"tactics" binding:"oneof=0 1 2 3" form:"tactics"` // 0-推荐路线, 1-最短时间, 2-最短距离, 3-躲避拥堵
}
type AddressLocationReq struct {
	Address string `json:"address" binding:"required" form:"address"`
}
